#include <string>

namespace Image
{
    class ImageSaver{
        public:
            ImageSaver(std::string folder_name) : _folder_name(folder_name){};

            ~ImageSaver() = default;

            std::string get_now_time(int64_t timestamp_collection);

            bool save_image_as_png(unsigned char *data_image, std::time_t timestamp_collection, int width, int height, int bit_depth, int color_type);

        private:
            std::string _folder_name;

    };
} // namespace Image
